package com.example.demo.service;

import com.example.demo.Util.Result;
import com.example.demo.po.Teacher;
import com.example.demo.po.dto.TeacherAddParam;
import com.example.demo.po.dto.TeacherParam;
import org.springframework.web.bind.annotation.RequestBody;

import java.util.List;

public interface TeacherService {

    List<Teacher> SearchTeacher(String name,int id);

    Result SaveTeacher(TeacherAddParam teacherAddParam);

    Result UpdateTeacher( TeacherParam TeacherParam);
}
